package org.spring.springboot.app.hard.hardregister.dao;

import org.apache.ibatis.annotations.Param;
import org.spring.springboot.app.hard.hardregister.domain.po.HardRegisterPO;
import org.spring.springboot.app.hard.hardregister.domain.vo.ExcelHardRegisterUrlVO;
import org.spring.springboot.app.hard.hardregister.domain.vo.HardRegisterSearchVO;
import org.spring.springboot.app.hard.hardregister.domain.vo.HardRegisterVO;

import java.util.List;

public interface HardRegisterDao {

    int deleteByPrimaryKey(String id);

    int insert(HardRegisterPO record);

    int insertSelective(HardRegisterPO record);

    HardRegisterPO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HardRegisterPO record);

    int updateByPrimaryKey(HardRegisterPO record);


    List<HardRegisterVO> findAll(HardRegisterSearchVO vo, @Param("pageNum") int pageNum, @Param("pageSize") int pageSize);


    int checkCountHardRegister(HardRegisterPO record);

    List<ExcelHardRegisterUrlVO> findExcelURlAllList(String url);
}